#!/usr/bin/env bash
export PYTHONUNBUFFERED=1

# OUTPUTS=move_doaj_pre_73w
# LR=2e-5
# GPU=2

# python run_classifier.py\
#  --data_dir=data/move_doaj\
#  --bert_config_file=models/cased_L-12_H-768_A-12/bert_config.json\
#  --task_name=cla\
#  --vocab_file=models/cased_L-12_H-768_A-12/vocab.txt\
#  --output_dir=outputs/${OUTPUTS}\
#  --init_checkpoint=models/doaj_73w/doaj_bert_from_base_40gpus_73w_best.ckpt\
#  --max_seq_length=256\
#  --do_lower_case=False \
#  --do_train=True\
#  --do_eval True\
#  --do_predict True\
#  --train_batch_size=32\
#  --learning_rate=${LR}\
#  --num_train_epochs=3.0\
#  --gpu=${GPU}\
#  --cla_nums=5

# OUTPUTS=move_doaj_pre_58w5
# LR=2e-5
# GPU=2

# python run_classifier.py\
#  --data_dir=data/move_doaj\
#  --bert_config_file=models/cased_L-12_H-768_A-12/bert_config.json\
#  --task_name=cla\
#  --vocab_file=models/cased_L-12_H-768_A-12/vocab.txt\
#  --output_dir=outputs/${OUTPUTS}\
#  --init_checkpoint=models/doaj_58w5/doaj_bert_from_base_100gpus_58w5_best.ckpt\
#  --max_seq_length=256\
#  --do_lower_case=False \
#  --do_train=True\
#  --do_eval True\
#  --do_predict True\
#  --train_batch_size=32\
#  --learning_rate=${LR}\
#  --num_train_epochs=3.0\
#  --gpu=${GPU}\
#  --cla_nums=5

OUTPUTS=move_doaj_pre_58w5
LR=2e-5
GPU=2

python run_classifier.py\
 --data_dir=data/move_doaj\
 --bert_config_file=models/cased_L-12_H-768_A-12/bert_config.json\
 --task_name=cla\
 --vocab_file=models/cased_L-12_H-768_A-12/vocab.txt\
 --output_dir=outputs/${OUTPUTS}\
 --init_checkpoint=models/doaj_58w5/doaj_bert_from_base_100gpus_58w5_best.ckpt\
 --max_seq_length=256\
 --do_lower_case=False \
 --do_predict True\
 --train_batch_size=32\
 --learning_rate=${LR}\
 --num_train_epochs=3.0\
 --gpu=${GPU}\
 --cla_nums=5